:root {
    --primary-color: #ff6b00;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.search-box {
    background-color: var(--secondary-color);
    border-radius: 20px;
    width: 100%;
    max-width: 300px;
}

.search-box input {
    border: none;
    background: transparent;
    padding-left: 10px;
    font-size: 0.9rem;
}

.search-box .input-group-text {
    background: transparent;
    border: none;
    color: var(--lighter-text);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    font-weight: 500;
    color: white;
}

.nav-pills .nav-link {
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.destination-item {
    margin-bottom: 5px;
    color: var(--light-text);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.destination-item:hover {
    color: var(--primary-color);
}

.hot-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
}

.product-card {
    margin-bottom: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card .card-img-top {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 160px);
}

.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.product-sales {
    font-size: 0.75rem;
    color: var(--lighter-text);
}

.service-icon {
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
}

.service-icon:hover {
    background-color: #e9ecef;
}

.service-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.service-icon div {
    font-size: 0.75rem;
    color: var(--light-text);
}

.recommended {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.recommended::after {
    content: "推荐";
    font-size: 0.6rem;
    background-color: var(--primary-color);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 5px;
    position: relative;
    top: -1px;
}

.tab-content {
    padding: 15px 0;
}

.guide-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guide-card .card-body {
    padding: 15px;
}

.guide-card h6 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.guide-card p {
    font-size: 0.8rem;
    color: var(--lighter-text);
    margin-bottom: 0;
}

.chat-box {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-box:hover {
    background-color: #e9ecef;
}

.chat-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.chat-box h6 {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.chat-box small {
    font-size: 0.8rem;
    color: var(--lighter-text);
}

/* 折叠式目的地列表 */
.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.accordion-button {
    padding: 12px 0;
    font-weight: 500;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-body {
    padding: 0.5rem 0;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #343a40, #212529);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 1199.98px) {
    .product-card .card-img-top {
        height: 140px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .search-box {
        margin-top: 10px;
        max-width: 100%;
    }
    
    .product-card .card-img-top {
        height: 120px;
    }
    
    .product-card .card-title {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .guide-card h6 {
        font-size: 0.85rem;
    }
    
    .guide-card p {
        font-size: 0.75rem;
    }
    
    .service-icon {
        padding: 8px 3px;
    }
    
    .service-icon i {
        font-size: 1rem;
    }
    
    .service-icon div {
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .nav-pills .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .product-card .card-img-top {
        height: 100px;
    }
    
    .product-card .card-title {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 0.85rem;
    }
    
    .product-sales {
        font-size: 0.7rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .col-md-6.text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .footer-links li {
        display: block;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .product-card .card-img-top {
        height: 80px;
    }
    
    .product-card .card-title {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 0.8rem;
    }
    
    .service-icon {
        padding: 6px 2px;
    }
    
    .service-icon i {
        font-size: 0.9rem;
    }
    
    .service-icon div {
        font-size: 0.65rem;
    }
    
    .guide-card h6 {
        font-size: 0.8rem;
    }
    
    .guide-card p {
        font-size: 0.7rem;
    }
    
    .chat-box {
        padding: 10px;
    }
    
    .chat-box i {
        font-size: 1.1rem;
        margin-right: 8px;
    }
    
    .chat-box h6 {
        font-size: 0.85rem;
    }
    
    .chat-box small {
        font-size: 0.75rem;
    }
}